package com.kayt.cyberBar.statistics.service.impl;

import com.kayt.cyberBar.common.base.BaseDaoService;
import com.kayt.cyberBar.common.base.BaseService;
import com.kayt.cyberBar.statistics.dao.impl.StatisticsCompanySalesDayDaoImpl;
import com.kayt.cyberBar.statistics.entity.po.BStatisticsCompanySalesDay;
import com.kayt.cyberBar.statistics.entity.vo.StatisticsCompanySalesDayVO;
import com.kayt.cyberBar.statistics.service.IStatisticsCompanySalesDayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Description
 *
 * @author Kevin
 * @since 12/29/2017 16:38
 */
@Service
public class StatisticsCompanySalesDayServiceImpl extends BaseService<BStatisticsCompanySalesDay,StatisticsCompanySalesDayVO> implements IStatisticsCompanySalesDayService {
    @Autowired
    private StatisticsCompanySalesDayDaoImpl statisticsCompanySalesDayDao;
    @Override
    public BaseDaoService<BStatisticsCompanySalesDay> getDaoService() {
        return statisticsCompanySalesDayDao;
    }

    @Override
    public long getID(StatisticsCompanySalesDayVO vo) {
        return vo.getId();
    }
}
